package run.newbug.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import run.newbug.service.UserService;

@RestController
public class UserController {
    @Autowired
    private UserService u;

    @RequestMapping("getMsg")
    public String getMsg(){
        return u.getMsg();
    }
}
